package com.siteseat.crudeq.broker.security;

import com.siteseat.common.security.Permission;

/**
 *
 */
public class BrokerPermission {
  
  public static final Permission MESSAGE_SUBSCRIBE = new Permission( 3001, "MESSAGE_SUBSCRIBE" );
  public static final Permission MESSAGE_PUBLISH = new Permission( 3002, "MESSAGE_PUBLISH" );

  public static final Permission QUEUE_DEPLOY = new Permission( 4001, "QUEUE_DEPLOY" );
  public static final Permission QUEUE_UNDEPLOY = new Permission( 4002, "QUEUE_UNDEPLOY" );

  static {
    Permission.registerPermission( MESSAGE_SUBSCRIBE );
    Permission.registerPermission( MESSAGE_PUBLISH );
    
    Permission.registerPermission( QUEUE_DEPLOY );
    Permission.registerPermission( QUEUE_UNDEPLOY );
  }

}
